package com.twu.biblioteca;

import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: mbokhari
 * Date: 11/07/2013
 * Time: 13:15
 * To change this template use File | Settings | File Templates.
 */
public class MovieShelf implements MenuInterface {

    private Notifier notifier = new Notifier();
    private Library library;

    public MovieShelf(Library library) {
        this.library = library;
    }

    public void runItems() {

        ArrayList<Movie> movieList = library.returnAllMoviesInLibrary();
        notifier.displayAllMoviesInLibrary(movieList);
    }
}
